package com.io.nio.mappedByteBuffer.ionio;

public class Employee {

	private String last; // the key
	private String first;
	private int id;
	private int zip;
	private boolean employed;
	private String comments;

	public Employee(String last, String first, int id, int zip,
			boolean employed, String comments) {
		super();
		this.last = last;
		this.first = first;
		this.id = id;
		this.zip = zip;
		this.employed = employed;
		this.comments = comments;
	}

	public String getLast() {
		return last;
	}

	public void setLast(String last) {
		this.last = last;
	}

	public String getFirst() {
		return first;
	}

	public void setFirst(String first) {
		this.first = first;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getZip() {
		return zip;
	}

	public void setZip(int zip) {
		this.zip = zip;
	}

	public boolean isEmployed() {
		return employed;
	}

	public void setEmployed(boolean employed) {
		this.employed = employed;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

}
